package com.xuecheng.api.content;

import com.xuecheng.api.content.model.qo.QueryCourseModel;
import com.xuecheng.api.content.model.vo.CourseAuditVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@Api(value = "课程基本信息管理-运营 Api", tags = "课程基本信息管理-运营",
        description = "课程基本信息业务管理-运营")
public interface CourseAuditApi {

    @ApiOperation("课程基础信息条件分页查询-运营")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "model",
                    value = "课程基本信息查询条件",
                    required = true,
                    dataType = "QueryCourseModel",
                    paramType = "body")
    })
    PageVO queryCourseList(PageRequestParams params, QueryCourseModel model);


    @ApiOperation("课程内容审核-运营")
    @ApiImplicitParam(name = "vo",value = "审核结果",required = true,dataType = "CourseAuditVO",paramType = "body")
    void approve(CourseAuditVO vo);

}
